package com.su.sweet.service;

import com.su.sweet.model.SRole;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author su
 * @since 2025-01-02
 */
public interface ISRoleService {
    Map<String, Object> list(Integer pageNo, Integer pageSize);

    Integer insert(SRole role);

    Integer update(SRole role);

    Integer delete(Integer id);

    List<SRole> allRole();
}
